package com.ynet.hmds28.merchant.dao;

import com.ynet.hmds28.merchant.model.Airindex;
import com.ynet.hmds28.merchant.model.AirindexQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AirindexDao {
	
	  //开启GTS事务
	public void enableTXC();
	
    int countByExample(AirindexQuery example);

    int deleteByExample(AirindexQuery example);

    int deleteByPrimaryKey(String citynum);

    int insert(Airindex record);

    int insertSelective(Airindex record);

    List<Airindex> selectByExample(AirindexQuery example);

    Airindex selectByPrimaryKey(String citynum);

    int updateByExampleSelective(@Param("record") Airindex record, @Param("example") AirindexQuery example);

    int updateByExample(@Param("record") Airindex record, @Param("example") AirindexQuery example);

    int updateByPrimaryKeySelective(Airindex record);

    int updateByPrimaryKey(Airindex record);
}